﻿// Copyright (C) 2009  Lex Li
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

/*
 * Created by SharpDevelop.
 * Date: 9/18/2009
 * Time: 7:16 PM
 */
using System;
using System.Globalization;
using System.Windows.Forms;

namespace Lextm.M8Pack.ThemeBuilder
{
	/// <summary>
	/// Class with program entry point.
	/// </summary>
	internal static class Program
	{
		/// <summary>
		/// Program entry point.
		/// </summary>
		[STAThread]
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "args")]
		private static void Main(string[] args)
		{
            if (args.Length > 0)
            {
                return;
            }

            // System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo("zh-CN");
		    // System.Threading.Thread.CurrentThread.CurrentUICulture = new CultureInfo("zh-CN");

			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault(false);
			Application.Run(new MainForm());
		}
		
	}
}
